#{extends 'admin/main.html' /}
#{set title:'Notice' /}

<a href="@{admin.Users.write()}">추가</a>
<table style="width: 600px;">
	<tr>
		<th>권한</th>
		<th style="width: 30%;">ID</th>
		<th>이름</th>
		<th style="width: 30%">등록일</th>
	</tr>
	#{list items:users, as:'user'}
    <tr>
    	<td>${user?.roleSet}</td>
    	<td style="text-align: center;"><a href="/admin/users/view/${user.id}">${user.userId}</a></td>
    	<td>${user.name}</td>
    	<td style="text-align: center;">${user.createdDateTime?.format("yyyy-MM-dd")}</td> 
    </tr>
	#{/list}
</table>
<div class="paginate_regular">#{verbatim}${pager?.html}#{/verbatim}</div>